package cn.cxy.exec;

/**
 * @Author 金帮嘉诚
 * @Date 2021-06-09 周三 8:39
 */
public class TestPrint5 {
    public static void main(String[] args) {
        double fatherheight = 155;
        double motherheight = 155;
        double sonheight = (fatherheight+motherheight)*1.08/2;
        double daughterheight = (fatherheight*0.923+motherheight)/2;
        System.out.println("儿子预计身高："+sonheight+"厘米");
        System.out.println("女儿预计身高："+daughterheight+"厘米");
    }
}
